package inheritance;

public class Rectangle extends Shape {
	
	int width;
	int height;
	
	public Rectangle() {
		type = "사각";
	}
	
	public double getArea() {
		return (double) width * height;
	}
	
}
